#include "stdafx.h"
#include "vehicle.h"

Vehicle::Vehicle()
{
}

Vehicle::Vehicle(string lRegNum, string lMake, string lModel, bool lInRent, int lAge, bool lAutoGearbox)
{
	regNum=lRegNum;
	make=lMake;
	model=lModel;
	inRent=lInRent;
	age=lAge;
	autoGearbox=lAutoGearbox;
}

string Vehicle::getRegNum(void)
{
	return regNum;
}

string Vehicle::getMake(void)
{
	return make;
}

string Vehicle::getModel(void)
{
	return model;
}

bool Vehicle::getInRent(void)
{
	return inRent;
}

int Vehicle::getAge(void)
{
	return age;
}

bool Vehicle::getAutoGearbox(void)
{
	return autoGearbox;
}

void Vehicle::setRegNum(string lRegNum)
{
	regNum=lRegNum;
}

void Vehicle::setMake(string lMake)
{
	make=lMake;
}

void Vehicle::setModel(string lModel)
{
	model=lModel;
}

void Vehicle::setInRent(bool lInRent)
{
	inRent=lInRent;
}

void Vehicle::setAge(int lAge)
{
	age=lAge;
}

void Vehicle::setAutoGearbox(bool lAutoGearbox)
{
	autoGearbox=lAutoGearbox;
}
	
int Vehicle::getVehicleType(void)
{
	return vehicleType;
}
